package com.ebupt.migu.music.effectStatistics.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Mapper
@DS("mysql_mg")
public interface MusicSoundMapper {
    /**
     * 统计查询条总数
     *
     * @param params
     * @return
     */
    Integer countQuery(Map<String, Object> params);

    /**
     * 分页查询
     *
     * @param params
     * @return
     */
    List<HashMap<String, Object>> queryMap(Map<String, Object> params);

    /**
     * 全量导出
     *
     * @param params
     * @return
     */
    List<HashMap<String, Object>> exportMap(Map<String, Object> params);
}
